Skip to content

Instantly share code, notes, and snippets.

@deanmlittle
deanmlittle / bitcoin_winternitz_vault.s
Last active December 12, 2025 19:21
Bitcoin Winternitz Vault
/*******************
* UNLOCKING SCRIPT *
*******************/
// Reverse-ordered Winternitz signature scalar and hash offset pairs
<0x6a1e8e25ac52d4073e6e6792deae3dd16d12580130e8fb1338629cf09cde415f> <0x08>
<0x171582236c86aacab7a0bdfde1d841bed34a4c712748b46a141bd9a743cb965a> <0x0a>
<0xc42ebffb891ff91b5cd75c0b2cfa1b1658eb3586bad9a4aaea05a34846765491> <0xf0>
<0x7faa84fe7faa005ebc37f02b15aa8db41c9ed7c63d8480573471533a0c942096> <0xb0>
<0xe7bbce18cacf2dbc2ae36122365462a07850e873e961ec4ea318dc6506498790> <0x15>
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 12, 2025 19:21
Conventional Commits Cheatsheet
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 12, 2025 19:17
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 12, 2025 19:15
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
{
"input": {
"blocklist": [],
"compressor#0": {
"attack": 15.0,
"boost-amount": 0.0,
"boost-threshold": -72.0,
"bypass": false,
"dry": -80.01,
"hpf-frequency": 10.0,
@deadlydog
deadlydog / PowerShellSingleFileScriptTemplate.ps1
Last active December 12, 2025 19:05
PowerShell template for a single-file script
<#
.SYNOPSIS
PUT SHORT SCRIPT DESCRIPTION HERE AND ADD ANY ADDITIONAL KEYWORD SECTIONS AS NEEDED (.PARAMETER, .EXAMPLE, ETC.).
#>
[CmdletBinding()]
param (
# PUT PARAMETER DEFINITIONS HERE AND DELETE THIS COMMENT.
)
process {
@reyk
reyk / openbsd-thinkpad-x1-carbon-gen11-2023
Created June 27, 2023 10:16
OpenBSD 7.3 on Thinkpad X1 Carbon Gen 11
OpenBSD 7.3-current (GENERIC.MP) #1: Tue Jun 27 09:53:32 CEST 2023
reyk@kyushu.local.atexit.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 33916760064 (32345MB)
avail mem = 32869203968 (31346MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.4 @ 0x55a9e000 (82 entries)
bios0: vendor LENOVO version "N3XET38W (1.13 )" date 04/26/2023
@karpathy
karpathy / min-char-rnn.py
Last active December 12, 2025 18:57
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@elowy01
elowy01 / BCFtools cheat sheet
Last active December 12, 2025 18:54
BCFtools cheat sheet
*bcftools filter
*Filter variants per region (in this example, print out only variants mapped to chr1 and chr2)
qbcftools filter -r1,2 ALL.chip.omni_broad_sanger_combined.20140818.snps.genotypes.hg38.vcf.gz
*printing out info for only 2 samples:
bcftools view -s NA20818,NA20819 filename.vcf.gz
*printing stats only for variants passing the filter:
bcftools view -f PASS filename.vcf.gz
@YoSoyGena
YoSoyGena / radios_nacionales.md
Last active December 12, 2025 18:54 — forked from pisculichi/radios_nacionales.txt
URLs de radios nacionales de Argentina, para poder escuchar en la web, lista COMPLETAMENTE re-hecha y actualizada para el 2025

RADIOS DE ARGENTINA - LISTA COMPLETA ACTUALIZADA 2025

Tabla actualizada con URLs de streaming de radios argentinas nacionales y provinciales.

NOTAS IMPORTANTES

Sobre las URLs de StreamTheWorld (*)

Las radios marcadas con asterisco (*) utilizan el servicio StreamTheWorld. Sus URLs son temporales y requieren renovación periódica. Al acceder al enlace, se genera automáticamente una nueva URL válida.

Formatos de Audio